 |
 |
 |
 |
#137125 - 06/20/01 04:43 PM
[6.0x] Introducing: UBBNews 2!
|
Member
Registered: 03/14/00
Posts: 213
Loc: Kuwait ( q8 )
|
UBBNews 2.0: This new version is a rewrite version with a major feature called 'news sessions', I'll discuss it later. Please note that this version is beta. So you may report any problems HERE ( don't email me ). News Sessions: Suppose you've got forums A,B,C,D and you want to display the forums A and B topics on a page and the forums C,D on another page and you want them to have compeletly different configuration settings ( max topics, characters limit , status , style template ). With News Sessions that's possible! You can create many news sessions as you like from the CP with different settings and different forums to grab topics from, and to get a specific news session's content via URL, you simpely do this: ubbnews.cgi?ns_id=NEWS_SESSION_ID . The id's are displayed in the control panel. Practical Example: We've created a news session from the CP with the forums A,B,C and the id was #2, we want to display the news on these forums so we simply make an SSI call with: ubbnews.cgi?ns_id=2 So, give it a try and report dozons of errors as usual Download here .
_________________________
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#137132 - 06/20/01 06:19 PM
Re: [6.0x] Introducing: UBBNews 2!
|
Member
Registered: 02/21/00
Posts: 5533
Loc: My Room
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#137140 - 06/21/01 05:52 AM
Re: [6.0x] Introducing: UBBNews 2!
|
Member
Registered: 03/14/00
Posts: 213
Loc: Kuwait ( q8 )
|
Well, I've updated the hack, here are the fixes, new features:
1. When I was developing the hack, I added the hashes to the use vars statement in cp.cgi but forgot to mention that in the installation file, this is now fixed. 2. Applied MM's fix. 3. Added 'View Headlines Only' feature, you can enable it from the news session addition/modification page. It will show only the forum,topic subject and the posting date of the topic ( like Ted's old news grabber ). 4. Minor changes in the templates to be more ubb-style compatible. 5. Minor change in the wordlets file, actually there was a typo in one of the hash keys.
To update, just perform the first new step of the cp.cgi instructions and reupload all files.
For those who want to upgrade from previous versions, you must uninstall the old hack, install the new one and create a new session that matches your old settings.
Allen, the instructions for creating the new directory are already there ( in the 'preparing for install' section ).
_________________________
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#137142 - 06/21/01 11:33 AM
Re: [6.0x] Introducing: UBBNews 2!
|
Member
Registered: 05/23/01
Posts: 2685
Loc: » Ü § Ĺ «
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#137143 - 06/21/01 12:01 PM
Re: [6.0x] Introducing: UBBNews 2!
|
I type Like navaho
Registered: 03/10/00
Posts: 25580
Loc: Texas
|
Sorry Bond, I missed that, was just reading the bottom..:) On our front page I am using it in the upper right column as a "semi-replacement" for active.cgi. The topics aren't updating with the changes in the forums, any idea? It sounds like it is reading the cache when first built and not when the threads update in the forums. Also, when selecting more than one forum to read from, it pulls the latest howevermany topics you input from each forum, not that number (ex.: 4) from all the forums as a group... your news is gonna be huge if you select more than 1-2 topics and more than 1 forum to read them from  Another suggestion, the option to enclose the headlines in one $TBT / $TBB type table so that if we include the headlines below the main announcements, they aren't just left our there all alone  I attempted to do this myself with varying results, most all of them very bad.  Other than that, excellent work Bond!
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|